package com.yugao.fintech.draper.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yugao.fintech.draper.auth.dto.LoginLogDTO;
import com.yugao.fintech.draper.admin.param.OperLogQuery;

import java.util.List;

public interface LoginLogService {
	/**
	 * 分页
	 */
	IPage<LoginLogDTO> pageQuery(OperLogQuery operLogQueryVo);

	/**
	 * 获取单条
	 */
	LoginLogDTO findById(Long id);

	/**
	 * 获取全部
	 */
	List<LoginLogDTO> findAll();

	/**
	 * 添加
	 */
	Boolean addOperLog(LoginLogDTO loginLogDTO);

	/**
	 * 修改
	 */
	Boolean updateOperLog(LoginLogDTO loginLogDTO);

	/**
	 * 删除
	 */
	Boolean deleteOperLog(Long id);

}